﻿<Page
    x:Class="WPlayerUI.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WPlayerUI"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
    
    <Page.BottomAppBar>
        <CommandBar>
            <AppBarButton Icon="OpenFile" Label="appbarbutton" Click="AppBarButton_Click"/>
            <AppBarButton Icon="Play" Label="appbarbutton" Tapped="AppBarPlay_Tapped"/>
            <AppBarButton Icon="Stop" Label="appbarbutton" Tapped="AppBarStop_Tapped"/>
        </CommandBar>
    </Page.BottomAppBar>
    
    <Grid>
        <MediaElement x:Name="wplayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"  />
    </Grid>
</Page>
